// 项目侧边栏的路由文件  
import {IeOutlined,DesktopOutlined,FileSearchOutlined,SolutionOutlined,SelectOutlined,UserSwitchOutlined,UserOutlined,BarsOutlined,MergeCellsOutlined,FieldTimeOutlined,HomeOutlined,FileDoneOutlined,UsergroupAddOutlined,CarOutlined } from "@ant-design/icons"

export  const   menuList = [
    {
        name:"首页",
        path:"/main/home",
        icon:<DesktopOutlined/>,
        premission:0,
    },
    {
        name:"人员管理",
        path:"/main/user",
        icon:< UsergroupAddOutlined/>,
        premission:1,
        children:[
            {
                name:"人员列表",
                path:"/main/user/add",
                icon:<UserSwitchOutlined/>,
                premission:1,
            },
            {
                name:"人员分析",
                path:"/main/user/lister",
                icon:<FileSearchOutlined />,
                premission:1,
            }
        ]
    },
    {
        name:"车辆管理",
        path:"/main/anno",
        icon:<CarOutlined/>,
        premission:0,
        children:[
            {
                name:"添加车辆",
                path:"/main/anno/tian",
                icon:<SelectOutlined />,
                premission:0,
            },
            {
                name:"工作安排",
                path:"/main/anno/gong",
                icon:<FileDoneOutlined/>,
                premission:1,
            }
        ]
    },

    {
        name:"仓库管理",
        path:"/main/advise",
        icon:<HomeOutlined/>,
        premission:0,
        children:[
            {
                name:"入库详细",
                path:"/main/advise/list",
                icon:<SolutionOutlined />,
                premission:1,
            },
            {
                name:"库存列表",
                path:"/main/advise/kucun",
                icon:<BarsOutlined />,
                premission:1,
            },
            {
                name:"配件出库",
                path:"/main/advise/biao",
                icon:<MergeCellsOutlined/>,
                premission:0,
            },
            {
                name:"出库时间",
                path:"/main/advise/time",
                icon:<FieldTimeOutlined/>,
                premission:0,
            },
        ]
    },
    {
        name:"个人中心",
        path:"/main/mine",
        icon:<UserOutlined/>,
        premission:0,
    },
    {
        name:"动态中心",
        path:"/main/dongtai",
        icon:<IeOutlined />,
        premission:0,
    }
]





